Skip to main content

default

Type

keyword

Summary

Used with the decorations property to specify the standard appearance for a window type. When used within a switch control structure, specifies a section of statements to be executed in all cases.

Syntax

default

Description

Use the default keyword to set a stack window to a normal window appearance.

An editable window whose decorations property is set to default has a title bar, close box, zoom box, and collapse box (on Mac OS|Mac OS systems), or a title bar, minimize button, maximize button, and menu bar (on Unix and Windows systems). A palette, modal, or modeless window whose decorations is set to default has a title bar.

If a switch control structure has a default section, the statements in the default section are executed if no break statement has been encountered yet in the switch control structure. (Usually, there is a break statement within each case section, so the default section is executed only if none of the case conditions is true.)

Examples

set the decorations of stack "Main" to default

keyword: case

property: default, decorations

command: modeless, palette, modal

control structure: switch, break

glossary: property, menu bar, execute, stack window, Windows, control structure, collapse box, keyword, close box, title bar, zoom box, Mac OS, minimize button, Unix, statement, maximize button

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?